package net.sureon.dao;

import java.util.List;

public interface UserDAO {
	public User getUser(long companyID, long id);

	public User getUserByUsername(long companyID, String userName);

	public List<User> getUserByGroup(long companyID, long groupID);

	public List<Long> getUserIDByGroup(long companyID, long groupID,
			long exclusiveUserID);

	public List<Long> getMemberUserIDByGroup(long companyID, long groupID);

	public List<User> getUserByCompany(long companyID, int skipResults,
			int maxResults);

	public long insertUser(User user);

	public int updateUser(User user);

	public User getUserByEmail(String email);
	
	public User getAdminUser(long companyID);
}
